package com.atguigu.spzx.cloud.order.config;

import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * projectName: com.atguigu.spzx.cloud.order.config
 * @author: 魏嘉禄
 * description: 
 * time: 2025/6/26 10:32
 */
@Configuration
public class FeignConfig {
    @Bean
    public RequestInterceptor requestInterceptor() {
        return template -> {
            template.header("Truth", "atguigu");
        };
    }
}
